<template>
	<view class="hun" style="background-color: #EEEEEE;position: relative;height: 100%;">
		<view class="inv-h-w">

			<view :class="['inv-h',Inv==0?'inv-h-se':'']" @click="yj_searchForm(Inv=0)">报验信息</view>
			<view v-if="Fdata.fStatus != '待报验'" :class="['inv-h',Inv==1?'inv-h-se':'']" @click="yj_searchForm(Inv=1)">
				专监审核</view>
		</view>

		<view style="position: absolute;width: 100%;margin-top: 100upx">
			<view class="formPage" v-if="Inv==0">
				<form>
					<view style="width: 100%;">
						<!-- 	<view class="formPage-titel">
							<view>
								报验信息
							</view>
						</view> -->
						<cLabel title='报验申请' :must="must0" v-model='totalData.fInspectionnote' :disabled="readonly0"
							:dataText='totalData.fInspectionnote' rightIcon='' mode='textarea' />
						<cLabel title='技术负责人' v-model='totalData.fDirectorusername' :must="must0" :disabled="readonly0"
							:dataText='totalData.fDirectorusername' rightIcon='' mode='text' />
						<cLabel title='报验时间日期' over="calc(5em + 15px)" :dataText='totalData.fInspectiondates'
							:must="must0" :disabled="readonly0" v-model='totalData.fInspectiondates' mode='date1'
							:flagNum="closeNum" />
						<cLabel title='提请专监审核人' :must="must0" v-model='totalData.fJlusername' :disabled="readonly0"
							:dataText='totalData.fJlusername' :selectList="handle0" mode='selector2' :flagNum="closeNum"
							@input='selectorFun' />
					</view>

					<view class="cu-form-group" style="margin-bottom: 100upx;">
					</view>
					<div class="wrapper" v-if="Fdata.fStatus == '待报验'">
						<div class="list">
							<text class="text" @click="clickNum(0)">保存</text>
							<text class="text" @click="clickNum(1)">提交</text>
						</div>
					</div>
				</form>
			</view>

			<view class="formPage" v-if="Inv==1">
				<form>
					<view style="width: 100%;">
						<!-- <view class="formPage-titel">
							<view>
								专监审核
							</view>
						</view> -->
						<cLabel title='专监审核意见' :must="must1" v-model='totalData.fJladuitnote' :disabled="readonly1"
							:dataText='totalData.fJladuitnote' rightIcon='' mode='textarea' />
						<cLabel title='专业监理工程师' v-model='totalData.fJladuitusername' :must="must1" :disabled="readonly1"
							:dataText='totalData.fJladuitusername' rightIcon='' mode='text' />
						<cLabel title='审核日期' over="calc(5em + 15px)" :dataText='totalData.fJladuitdates' :must="must1"
							:disabled="readonly1" v-model='totalData.fJladuitdates' mode='date1' :flagNum="FirstNum" />


					</view>

					<view class="cu-form-group" style="margin-bottom: 100upx;">
					</view>
					<div class="wrapper" v-if="Fdata.fStatus != '待报验'">
						<div class="list">
							<text class="text" @click="clickNum(2)">保存</text>
						</div>
					</div>
				</form>
			</view>

			<loading :shadeShow="shadeShow" :shadeClick="false" :backgroundColor="backgroundColor" :width="width"
				:height="height" ref="loading" :custom="false" :type="1" @callback="callback()">
			</loading>

		</view>

	</view>
</template>

<script src="./index.js">
</script>

<style scoped lang="less">
	@import './index.less';
</style>
